package cn.com.api.service.impl.base;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiU_see_his;

import cn.com.api.mapper.ApiU_see_hisMapper;

import cn.com.api.service.ApiU_see_hisService;

/**
 * 
 **/
@Service
public class U_see_hisServiceImplBase {
	@Autowired
	private ApiU_see_hisMapper apiU_see_hisMapper;
    
    // 根据id获取
	public ApiU_see_his findU_see_hisById(Integer id){
		ApiU_see_his u_see_his = apiU_see_hisMapper.findU_see_hisById( id );
		return u_see_his;
	}
    
    //查看数据集
	public List<ApiU_see_his> findU_see_hiss(){
        List<ApiU_see_his> u_see_hiss = apiU_see_hisMapper.findU_see_hiss();
		return u_see_hiss;
    }
   
    //根据条件查看数据集
	public List<Map<String, Object>> findU_see_hissByMap(HashMap condition){
        List<Map<String, Object>> u_see_hiss = apiU_see_hisMapper.findU_see_hissByMap(condition);
		return u_see_hiss;
    }
    
	// 添加
	public int insertU_see_his(ApiU_see_his u_see_his){
		int ret_I= apiU_see_hisMapper.insertU_see_his(u_see_his);
		return ret_I;
	}

	// 修改
	public int updateU_see_his(ApiU_see_his u_see_his){
		int ret_I= apiU_see_hisMapper.updateU_see_his(u_see_his);
		return ret_I;
	}
	
    // 删除
	public int deleteU_see_his(Integer id){
		int ret_I= apiU_see_hisMapper.deleteU_see_his( id );
		return ret_I;
	}
	
    // Foreign keys revelant		
		

	//region Indexs revelant
    
    
    
    
}


